package com.monco.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.monco.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author com/monco
 * @since 2020-04-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_dict")
@ApiModel(value="Dict对象", description="")
public class Dict extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "字典key")
    private String keyCode;

    @ApiModelProperty(value = "字典value")
    private String keyValue;

    @ApiModelProperty(value = "上级id")
    private Long parentId;


}
